<?php /* Smarty version Smarty-3.1.15, created on 2017-09-20 22:48:16
         compiled from "D:\git\family_group\uploads\include\template\panel\family_group_user_add.tpl" */ ?>
<?php /*%%SmartyHeaderCode:886959bd436fab1dc6-32792632%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1cfded08920512563fea34e896a9cca1acc8e3a8' => 
    array (
      0 => 'D:\\git\\family_group\\uploads\\include\\template\\panel\\family_group_user_add.tpl',
      1 => 1505918865,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '886959bd436fab1dc6-32792632',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.15',
  'unifunc' => 'content_59bd436fad5047_17209204',
  'variables' => 
  array (
    'osadmin_action_alert' => 0,
    'osadmin_quick_note' => 0,
    'user_id_post' => 0,
    'client_info' => 0,
    '_POST' => 0,
    'group_options' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_59bd436fad5047_17209204')) {function content_59bd436fad5047_17209204($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include 'D:\\git\\family_group\\uploads\\include\\config/../../include/lib/Smarty/plugins\\function.html_options.php';
?><?php echo $_smarty_tpl->getSubTemplate ("header.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("navibar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!-- START 以上内容不需更改，保证该TPL页内的标签匹配即可 -->

<?php echo $_smarty_tpl->tpl_vars['osadmin_action_alert']->value;?>

<?php echo $_smarty_tpl->tpl_vars['osadmin_quick_note']->value;?>

    
<div class="well">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#home" data-toggle="tab">请填写账号资料</a></li>
    </ul>	
	
	<div id="myTabContent" class="tab-content">
		  <div class="tab-pane active in" id="home">

           <form id="tab" method="post" action="" autocomplete="off" enctype="multipart/form-data">
           		<?php  $_smarty_tpl->tpl_vars['client_info'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['client_info']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['user_id_post']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['client_info']->key => $_smarty_tpl->tpl_vars['client_info']->value) {
$_smarty_tpl->tpl_vars['client_info']->_loop = true;
?>	
           		<label>用户编号</label>
				<input type="text" name="user_id" value="<?php echo $_smarty_tpl->tpl_vars['client_info']->value['max_id']+1;?>
" readonly="readonly" class="input-xlarge" required="true" >
				<label>登录名</label>
				<input type="text" name="user_name" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['user_name'];?>
" class="input-xlarge" autofocus="true" required="true" >
				<label>密码</label>
				<input type="password" name="user_password" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['user_password'];?>
" class="input-xlarge" required="true" >
				<label>姓名</label>
				<input type="text" name="real_name" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['real_name'];?>
" class="input-xlarge" required="true" >
				<label>手机</label>
				<input type="text" name="user_phone" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['user_phone'];?>
" class="input-xlarge" required pattern="\d{11}">
	      		<label>性别</label>
	      		<select name="user_sex" selected=0>
				<option value="男">男</option>
			  	<option value="女">女</option>
				</select>
	      		<label>账号组</label>
				<?php echo smarty_function_html_options(array('name'=>'user_group','id'=>"DropDownTimezone",'class'=>"input-xlarge",'options'=>$_smarty_tpl->tpl_vars['group_options']->value,'selected'=>0),$_smarty_tpl);?>

				<label>用户职务</label>
	      		<input type="text" name="user_duty" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['user_duty'];?>
" class="input-xlarge" required="true" >
	      		<label>证件类型</label>
	      		<select name="user_id_type" selected=0>
				<option value="身份证">身份证</option>
			  	<option value="学生证">学生证</option>
			  	</select>
	      		<label>证件号码</label>
	      		<input type="text" name="user_num" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['user_num'];?>
" class="input-xlarge" required="true" >
	      		<label>入职时间</label>
	      		<input type="text" name="user_register_time" value="<?php echo date('Y-m-d H:i:s');?>
" readonly="readonly" class="input-xlarge" required="true" >
	      		<label>用户照片</label>
	      		<input type="file" name="user_photo" value="<?php echo $_smarty_tpl->tpl_vars['_POST']->value['user_photo'];?>
" class="input-xlarge" required="true" >
				<?php } ?>
			<div class="btn-toolbar">
				<button type="submit" class="btn btn-primary"><strong>提交</strong></button>
				<div class="btn-group"></div>
			</div>
			</form>
        </div>
    </div>
</div>
<!-- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 -->
<?php echo $_smarty_tpl->getSubTemplate ("footer.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
<?php }} ?>
